<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
  <meta name="description" content="">
  <meta name="author" content="">
  <link rel="icon" href="/favicon.png">

  <title>{{host}} - Mycodo Reset Password</title>

  <link href="/static/css/bootstrap.min.css" rel="stylesheet">
  <link href="/static/css/signin.css" rel="stylesheet">

</head>
<body>

  <!-- Route: /reset_password -->
  <div class="container">
    {% include 'flash_messages.html' %}

    <form class="form-signin" action="/reset_password" method="POST">
      <input type="hidden" name="form-name" value="login">
      <h2 class="form-signin-heading">{{_("Reset Password")}}</h2>
      {{form_reset_password.password_reset_code.label(class_='sr-only')}}
      {{form_reset_password.password_reset_code(class_='form-control', autofocus=true)}}
      {{form_reset_password.password.label(class_='sr-only')}}
      {{form_reset_password.password(class_='form-control')}}
      {{form_reset_password.password_repeat.label(class_='sr-only')}}
      {{form_reset_password.password_repeat(class_='form-control')}}
      <div style="padding-top: 1em"></div>
      {{form_reset_password.submit(class_='btn btn-lg btn-primary btn-block')}}
    </form>
  </div>

</body>
</html>
